package com.ngc.mall.service;

import com.ngc.mall.domain.ActivityDomain;
import com.ngc.mall.vo.ActivityCouponVO;

import java.util.List;

public interface IActivityService {

    Long createActivity(ActivityDomain domain);

    ActivityCouponVO findById(Long id);

    Boolean relateCouponList(Long id, List<Long> couponIdList);

    Boolean updateById(Long id,ActivityDomain domain);

    List<ActivityDomain> selectAll();

    Boolean deleteById(Long id);

    Boolean unRelateCouponById(Long id,Long couponId);

    List<ActivityCouponVO> findByKeywords(List<String> keywords);

    Boolean updateStatusToClosedById(Long id);

    Boolean updateStatusToDoingById(Long id);

}
